package com.woniuxy.commons.service;

import com.woniuxy.commons.util.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "BANKB")
@Component
public interface BankBService {
    @GetMapping("/bankb/update/{id}/{money}")
    public ResponseResult<String> update(@PathVariable("id") int id,@PathVariable("money") int money);
}
